package indi.jp.project.business.pub.service;

import indi.jp.project.business.pub.pojo.po.MaterialPO;
import indi.jp.project.business.pub.pojo.query.MaterialQuery;
import indi.jp.project.core.entity.JsonResult;

import java.sql.SQLException;

public interface MaterialService {

    JsonResult queryGrid(MaterialQuery query) throws SQLException;

    JsonResult save(MaterialPO materialPO) throws SQLException;

    JsonResult deleteById(String id) throws SQLException;
}
